<template>
<div id="app">
    <router-view></router-view>
    <van-loading class="loading" type="spinner" color="#1989fa" v-if="isShow"></van-loading>
  </div>
</template>
<script>
// import func from 'vue-editor-bridge'
export default {
    name:"App",
    computed:{
      isShow:function(){
        return this.$store.state.isLoading
      }
    }
}
</script>
<style scoped>
.loading{
    position: fixed;    
    left:50%;
    top:50%;
    transform: translate(-50%,-50%)
  }
</style>
